home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_13_04
/
allison
/
convert1.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1995-02-06
|
263 b
|
24 lines
LISTING 1 - Illustrates the need for function prototypes
/* convert1.c */
#include <stdio.h>
main()
{
dprint(123);
dprint(123.0);
return 0;
}
dprint(d)
double d;
{
printf("%f\n",d);
}
/* Output:
0.000000
123.000000
*/